<template>
  <div class="plugin-demo">
    <h1>PluginDemo</h1>
    <el-button type="primary">这是一个按钮</el-button>
    <el-button type="primary" @click="getBingImg">获取图片</el-button>
  </div>
</template>

<script>
export default {
  name: "PluginDemo",
  methods: {
    getBingImg() {
      this.$axios.get('favicon.ico').then(res => {
        console.log(res);
      })
    }
  }
}
</script>

<style scoped>

</style>